Pearson Edexcel · A-Level · Mathematics
Course version: 603/1499/0 · Version from Sept 2017
Further Statistics 2
Full specification wording
Linear Regression - Paper 4B: Further Statistics 2: 1.1 Least squares linear regression. The concept of residuals and minimising the sum of squares of residuals.
In least squares linear regression you fit a straight line y = a + bx to paired bivariate data by choosing the intercept a and gradient b that make the vertical discrepancies between observed…
- Point 1 of 3
Study notes
From the teaching notes for this specification point.
The idea
In least squares linear regression you fit a straight line y = a + bx to paired bivariate data by choosing the intercept a and gradient b that make the vertical discrepancies between observed y-values and the fitted line as small as possible in a combined sense. For each data point (xᵢ, yᵢ) the residual is eᵢ = yᵢ − (a + bxᵢ): the observed value minus the predicted value, so a point above the line has a positive residual and a point below has a negative residual. Squaring removes the sign and penalises large gaps heavily. The least squares estimates are the values of a and b that minimise the residual sum of squares Σeᵢ². Because a squared quantity is never negative, this minimisation is well defined, and it leads to the standard formulae for b and a taught in the statistics course.
What earns the marks
- Identifies the residual as the observed y-value minus the value predicted by the fitted line, so the sign shows whether a point lies above or below the line.
- Recognises that least squares chooses the intercept and gradient that minimise the sum of squared residuals rather than the sum of raw residuals.
- Explains that squaring residuals prevents positive and negative deviations from cancelling and gives extra weight to large deviations.
- Distinguishes the residual for an individual point from the overall residual sum of squares used as the fitting criterion.
- Applies the criterion to compare candidate lines by computing Σeᵢ² for each and selecting the smaller value as the better least squares fit.
Common mistakes and how to put them right
Reverses the subtraction and computes predicted value minus observed value.
Put it right: Keep the residual as observed minus predicted so positive and negative signs are interpreted correctly.
Minimises the sum of raw residuals instead of the sum of squared residuals.
Put it right: Recognise that raw residuals can cancel, so the squares must be used.
Treats the residual as the horizontal distance from the point to the line.
Put it right: Use the vertical discrepancy in y, because regression predicts y from x.
Assumes the least squares line passes through every point.
Put it right: Accept that it balances the squared deviations and generally does not pass through the data points.
Exam tips
- Write the residual definition explicitly before substituting numbers so the sign convention is secure.
- When asked which of several lines is the least squares fit, compute Σeᵢ² for each line and compare the totals rather than eyeballing the scatter.
- Check that your minimised quantity is a sum of squares, not a sum of absolute values, because the criterion is specifically least squares.
Try the lesson
The start of the Linear Regression - Paper 4B: Further Statistics 2: 1.1 Least squares linear regression. The concept of residuals and minimising the sum of squares of residuals. lesson, made from teaching notes for this specification point.
Have a go first
A regression line gives a predicted value of 20 for one observation, and the observed value is 23. What is the residual for this observation?
There is more to this lesson
The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.
5 free practice questions every day · Free forever · No card required
Test your understanding of Linear Regression - Paper 4B: Further Statistics 2: 1.1 Least squares linear regression. The concept of residuals and minimising the sum of squares of residuals.
Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.
5 free practice questions every day · Free forever · No card required